package com.groupseven.backend.domain.Menu;


import java.util.List;

public class MenuItem {

    public String icon;

    public String index;

    public String title;

    public int isParent;

    public int menuid;

    public int parentid;

    public List<MenuItem> Subs;

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIsParent() {
        return isParent;
    }

    public void setIsParent(int isParent) {
        this.isParent = isParent;
    }

    public int getMenuid() {
        return menuid;
    }

    public void setMenuid(int menuid) {
        this.menuid = menuid;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public List<MenuItem> getSubs() {
        return Subs;
    }

    public void setSubs(List<MenuItem> subs) {
        Subs = subs;
    }

    public MenuItem() {
    }

    public MenuItem(String icon, String index, String title, int isParent, int menuid, int parentid) {
        this.icon = icon;
        this.index = index;
        this.title = title;
        this.isParent = isParent;
        this.menuid = menuid;
        this.parentid = parentid;
    }

    public MenuItem(String icon, String index, String title, int isParent, int menuid, int parentid, List<MenuItem> subs) {
        this.icon = icon;
        this.index = index;
        this.title = title;
        this.isParent = isParent;
        this.menuid = menuid;
        this.parentid = parentid;
        Subs = subs;
    }
}
